package com.jeff.cloud.consumermovie.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 注意：Feign的日志打印只会对DEBUG级别做出响应
 * @author: jeff
 * @date: 2021/8/10 14:30
 */
@Configuration
public class FeignLogConfiguration {
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
